package com.inspsys.algorithms.mapper;

import java.util.List;
import com.inspsys.algorithms.domain.AlgorithmsSampleLibrary;

/**
 * sampleLibraryMapper接口
 *
 * @author inspsys
 * @date 2025-01-08
 */
public interface AlgorithmsSampleLibraryMapper
{
    /**
     * 查询sampleLibrary
     *
     * @param id sampleLibrary主键
     * @return sampleLibrary
     */
    public AlgorithmsSampleLibrary selectAlgorithmsSampleLibraryById(Long id);

    /**
     * 查询sampleLibrary列表
     *
     * @param algorithmsSampleLibrary sampleLibrary
     * @return sampleLibrary集合
     */
    public List<AlgorithmsSampleLibrary> selectAlgorithmsSampleLibraryList(AlgorithmsSampleLibrary algorithmsSampleLibrary);

    /**
     * 新增sampleLibrary
     *
     * @param algorithmsSampleLibrary sampleLibrary
     * @return 结果
     */
    public int insertAlgorithmsSampleLibrary(AlgorithmsSampleLibrary algorithmsSampleLibrary);

    /**
     * 修改sampleLibrary
     *
     * @param algorithmsSampleLibrary sampleLibrary
     * @return 结果
     */
    public int updateAlgorithmsSampleLibrary(AlgorithmsSampleLibrary algorithmsSampleLibrary);

    /**
     * 删除sampleLibrary
     *
     * @param id sampleLibrary主键
     * @return 结果
     */
    public int deleteAlgorithmsSampleLibraryById(Long id);

    /**
     * 批量删除sampleLibrary
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteAlgorithmsSampleLibraryByIds(Long[] ids);
}
